﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Membership.Library.Web
{
    public partial class MembershipDomainService
    {
        // TODO:
        // Consider constraining the results of your query method.  If you need additional input you can
        // add parameters to this method or create additional query methods with different names.
        // To support paging you will need to add ordering to the 'Employee' query.
        public IQueryable<Employee> GetEmployeeBywhere(string sqlWhere)
        {
            return this.ObjectContext.Employee.Where(sqlWhere);
        }

        public IQueryable<Function> GetFunciton()
        {
            return this.ObjectContext.Function;
        }
    }
}
